﻿@model SimpleForum.Data.Models.User

<div class="@ViewBag.cssclass">
    <img class="bottom-10" src="@Model.AvatarUrl128" height="128" width="128" alt="@Model.UserName's avatar" />
    <div class="user-stats">
        @if (SimpleForum.Data.Services.ConfigurationService.ReputationEnabled) {
            <div class="align-left" style="width:50%;">
                <span class="grey" style="font-size:300%;font-weight:bold;">@Model.TotalReputation.PrettyNumbers()</span><br />
                <span class="grey">reputation</span>
            </div>
            <div class="align-right" style="width:50%;">
                <span class="grey" style="font-size:300%;font-weight:bold;">@Model.Achievements.Count</span><br />
                <span class="grey">achievements</span>
            </div>
        }
    </div>
</div>